<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Registration
 *
 * @author gaurav
 */






class Registration {


    
 function displayRegistration(){
 echo '<script type="text/javascript" src="js/formJs/Registration.js"></script>
';
 
     echo '<form id ="registration"  name = "registration" action = "Controller/Controller.php?action=registrationConfirmation" method="POST">
         <table width="295" border="1">
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>First Last </td>
    <td>
      <input name="fname" type="text" id="fname" />    </td>
  </tr>
  <tr>
    <td>Last Name </td>
    <td>
      <input name="lname" type="text" id="lname" />    </td>
  </tr>
  <tr>
    <td>Email</td>
    <td><label>
      <input type="text" name="email" />
    </label></td>
  </tr>
  <tr>
    <td>Password</td>
    <td><label>
      <input name="password" type="password" id="password" />
    </label></td>
  </tr>
  <tr>
    <td>Re - enter Password </td>
    <td><label>
      <input name="repassword" type="password" id="repassword" />
    </label></td>
  </tr>
  <tr>
    <td>Mobile</td>
    <td><label>
      <input name="mobile" type="text" id="mobile" />
    </label></td>
  </tr>
  <tr>
    <td>Country</td>
    <td><label>
      <select name="country" id="country" onchange = "loadState();">
        <option value="-1">-- Select --</option>
        <option value="0">India</option>
        <option value="1">Other</option>
      </select>
    </label></td>
  </tr>
  <tr>
    <td>State</td>
    <td><div id = "stateDiv">
        <select name="state" id="state">
        <option value = -1>-- Select --</option>
      </select>
    </div></td>
  </tr>
  <tr>
    <td>City</td>
    <td><div id = "cityDiv">
      <select name="city" id="city">
      <option value = -1>-- Select --</option>
      </select>
    </div></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td><label>
      <input type="submit" name="Submit" value="Submit" />
    </label></td>
  </tr>
</table>
</form>
';
 }
}
?>
